package com.youhome.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.util.StringUtils;

@Data
@ApiModel
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class BClient {
    @ApiModelProperty(value = "客户ID")
    private Long clientId;

    @ApiModelProperty(value = "公司ID")
    @JsonIgnore
    private Long companyId;

    @ApiModelProperty(value = "顾问ID")
    @JsonIgnore
    private Long counselorId;

    @ApiModelProperty(value = "用户ID")
    @JsonIgnore
    private Long userId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "微信")
    private String weixin;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "投资目的")
    private String investmentObjective;

    @ApiModelProperty(value = "资金来源，国内资金，海外资金")
    private String capitalSource;

    @ApiModelProperty(value = "房型倾向")
    private String tendencyRoom;

    @ApiModelProperty(value = "地点倾向")
    private String tendencySite;

    @ApiModelProperty(value = "价格倾向")
    private String tendencyPrice;

    @ApiModelProperty(value = "面积倾向")
    private String tendencySize;

    @ApiModelProperty(value = "学校倾向")
    private String tendencySchool;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "出生日期")
    private Date birthdate;

    @ApiModelProperty(value = "婚姻，0保密，1已婚，2未婚，3离异")
    private Integer marital;

    @ApiModelProperty(value = "年收入")
    private String income;

    @ApiModelProperty(value = "职称")
    private String jobTitle;

    @ApiModelProperty(value = "工作行业")
    private String jobType;

    @ApiModelProperty(value = "性别，0女，1男")
    private Integer gender;

    @ApiModelProperty(value = "性别，0女，1男")
    @JsonIgnore
    private Integer sex;

    @ApiModelProperty(value = "客户状态，0关闭，1开启")
    @JsonIgnore
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @JsonIgnore
    private Date ctime;

    @ApiModelProperty(value = "修改时间")
    @JsonIgnore
    private Date utime;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "注册来源")
    private String source;

    @ApiModelProperty(value = "分享组ID")
    @JsonIgnore
    private String sourceShareGorupUuid;

    @ApiModelProperty(value = "公司UUID")
    @JsonIgnore
    private String companyUuid;

    @ApiModelProperty(value = "头像")
    private String photo;

    @ApiModelProperty(value = "备注")
    private String remark;

    public Integer getGender() {
        return sex;
    }
}